ifeq ($(CONFIG_UI_LVGL), y)
inc-g-y += . port src
src-y += port/*.c
src-y += \
	src/*.c \
	src/core/*.c \
	src/display/*.c \
	src/draw/*.c \
	src/draw/sw/*.c \
	src/draw/sw/arm2d/*.c \
	src/draw/sw/blend/*.c \
	src/draw/sw/blend/arm2d/*.c \
	src/draw/sw/blend/helium/*.S \
	src/draw/sw/blend/neon/*.S \
	src/drivers/*.c \
	src/font/*.c \
	src/indev/*.c \
	src/layouts/*.c \
	src/layouts/flex/*.c \
	src/layouts/grid/*.c \
	src/layouts/*.c \
	src/libs/bin_decoder/*.c \
	src/libs/fsdrv/*.c \
	src/misc/*.c \
	src/misc/cache/*.c \
	src/osal/*.c \
	src/stdlib/*.c \
	src/stdlib/builtin/*.c \
	src/stdlib/clib/*.c \
	src/themes/*.c \
	src/themes/default/*.c \
	src/themes/mono/*.c \
	src/themes/simple/*.c \
	src/tick/*.c

src-y += \
	src/widgets/*.c \
	src/widgets/animimage/*.c \
	src/widgets/arc/*.c \
	src/widgets/bar/*.c \
	src/widgets/button/*.c \
	src/widgets/buttonmatrix/*.c \
	src/widgets/calendar/*.c \
	src/widgets/canvas/*.c \
	src/widgets/chart/*.c \
	src/widgets/checkbox/*.c \
	src/widgets/dropdown/*.c \
	src/widgets/image/*.c \
	src/widgets/imagebutton/*.c \
	src/widgets/keyboard/*.c \
	src/widgets/label/*.c \
	src/widgets/led/*.c \
	src/widgets/line/*.c \
	src/widgets/list/*.c \
	src/widgets/lottie/*.c \
	src/widgets/menu/*.c \
	src/widgets/msgbox/*.c \
	src/widgets/objx_templ/*.c \
	src/widgets/property/*.c \
	src/widgets/roller/*.c \
	src/widgets/scale/*.c \
	src/widgets/slider/*.c \
	src/widgets/span/*.c \
	src/widgets/spinbox/*.c \
	src/widgets/spinner/*.c \
	src/widgets/switch/*.c \
	src/widgets/table/*.c \
	src/widgets/tabview/*.c \
	src/widgets/textarea/*.c \
	src/widgets/tileview/*.c \
	src/widgets/win/*.c \

cflags-l-y += -DLV_CONF_INCLUDE_SIMPLE

cflags-port/lv_pony.c += -Wno-cast-function-type-mismatch

endif
